<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Map</title>
	</head>
	<body>
		<script>
			let m = new Map();
			m.set('name','hangzhou');
			m.set('change',function() {
				console.log('test string.');
			});
			let = key = {k : 'www'};
			m.set(key,['AA','BB','CC']);
			console.log(m);
			console.log(m.size);
			m.delete('name');
			console.log(m.get(key));
			// m.clear();
			// console.log(m);
			for(let v of m) {
				console.log(v);
			}
		</script>
	</body>
</html>